//如果用uni请求
// import http from './http.interceptor.js';

//如果是用uview请求,就用下面这句
const http = uni.$u.http

let api = {
	user_login: params => http.post('user_login', params), //用户登陆
	user_info: params => http.post('user_info', params), //用户信息
	get_openid: params => http.post('get_openid', params),  
	wx_st: params => http.post('wx_st', params), 
	bind_shouhuan: params => http.post('bind_shouhuan', params), 
	get_new_data: params => http.post('get_new_data', params), 
	get_qiangdu: params => http.post('get_qiangdu', params), 
	get_xinlv: params => http.post('get_xinlv', params), 
	get_leijiday: params => http.post('get_leijiday', params), 
	get_leijikaluli: params => http.post('get_leijikaluli', params), 
	get_avgxinlv: params => http.post('get_avgxinlv', params), 
	get_qujianxinlv: params => http.post('get_qujianxinlv', params), 
	get_bindshouhuan: params => http.post('get_bindshouhuan', params), 
	get_jiechubind: params => http.post('get_jiechubind', params), 
 
	
}


export default api;